package cn.yjh.support;

import cn.yjh.exception.ServicesException;

/**
 * @DESC:
 * @AUTHOR: YouJinhua
 * @DATE: 2022-01-09 12:25:19
 * @VERSION: 1.0
 */
public interface ServiceFactory {

    Object getService(String name) throws ServicesException;

    <T> T getService(String name, Class<T> requiredType) throws ServicesException;

    <T> T getService(Class<T> requiredType) throws ServicesException;

    boolean containsService(String name);



}
